N = 1 (slider from 1 to 20, step 1)
h = Sum(cos((n * x)), n, 1, N)
f(x) = 1 / ((2 * π)) + (1 / π * h(x))